﻿* Encoding: UTF-8.

USE ALL.
COMPUTE filter_$=(Q97=1).
VARIABLE LABELS filter_$ 'Q97=1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

CROSSTABS
  /TABLES=VALDJN BY Q106 Q107
  /FORMAT=AVALUE TABLES
  /STATISTICS=CHISQ 
  /CELLS=COUNT COLUMN ASRESID 
  /COUNT ROUND CELL.

USE ALL.
COMPUTE filter_$=(Q97=2).
VARIABLE LABELS filter_$ 'Q97=1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

CROSSTABS
  /TABLES=VALDJN BY Q106 Q107
  /FORMAT=AVALUE TABLES
  /STATISTICS=CHISQ 
  /CELLS=COUNT COLUMN ASRESID 
  /COUNT ROUND CELL.


USE ALL.
COMPUTE filter_$=(VALDJN=1).
VARIABLE LABELS filter_$ 'VALDJN=1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

CROSSTABS
  /TABLES=Q108 BY Q106 Q107
  /FORMAT=AVALUE TABLES
  /STATISTICS=CHISQ 
  /CELLS=COUNT COLUMN ASRESID 
  /COUNT ROUND CELL.


